AUX_SOURCE_DIRECTORY(. LIB_THREAD)

ADD_LIBRARY(thread SHARED ${LIB_THREAD})